﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using Nop.Core.Domain.Hotel;

namespace Nop.Data.Mapping.Hotel
{
    public partial class RoomTypeMap : EntityTypeConfiguration<RoomType>
    {
        public RoomTypeMap()
        {
            this.ToTable("RoomType");
            this.HasKey(p => p.Id);
            this.Property(p => p.TypeDescription).IsMaxLength();
            this.Property(p => p.TypeName).HasMaxLength(100);
            this.Property(p => p.Price);
        }
    }
}
